home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1994 June / PC Plus Super CD coverdisc Issue 93 June 1994.iso / run / helpedit / helpedit.doc < prev    next >
Encoding:
Text File  |  1993-11-15  |  20.0 KB  |  490 lines

  1. ºTopic0001
  2. {\b Help-Editor Help}    ñIndex 1 of 2½Topic0002╗
  3. {\f0 \fs72 \cf6 \B \i Help Edit
  4.      for
  5. Windows}
  6.  
  7. {\f0 \fs28 \cf2 \B         Version 1.9}
  8. {\b Help Editor for Microsoft Windows}
  9.  
  10. {\b Copyright ⌐ 1993 by Aciran Software Systems, All Rights Reserved}
  11.  
  12. {\f0 \fs28 \cf6 \B This Help file was produced entirely using the Help Editor system and the Microsoft Help compiler.}
  13.  
  14. {\b Commands}
  15.  
  16. \li600
  17. ñThe Tool Bar½Topic0078╗
  18. ñThe Status Bar½Topic0079╗
  19. ñFile Menu½Topic0003╗
  20. ñEdit Menu½Topic0004╗
  21. ñSearch Menu½Topic0005╗
  22. ñProject Menu½Topic0006╗
  23. ñMake Menu½Topic0007╗
  24. ñInsert Menu½Topic0008╗
  25. ñOptions Menu½Topic0071╗
  26. ñHelp Menu½Topic0009╗
  27. \pard 
  28.  
  29. {\b Glossary}
  30.     ñDefined Terms½Topic0055╗
  31.  
  32. ºTopic0002
  33. {\b Help Edit Help}    ñIndex 2 of 2½Topic0001╗
  34.  
  35. {\b Procedures}
  36.  
  37. \li600
  38. ñHow to prepare your Help File½Topic0043╗
  39. ñHow to create a Help Edit Project File½Topic0044╗
  40. ñHow to create Help Topics½Topic0045╗
  41. ñHow to create Help Definitions½Topic0046╗
  42. ñHow to create Jump Links½Topic0047╗
  43. ñHow to create Definition Links½Topic0048╗
  44. ñHow to create a Browse Sequence½Topic0049╗
  45. ñHow to create an Alias List½Topic0080╗
  46. ñHow to Edit a Topic½Topic0062╗
  47. ñHow to Edit a Definition½Topic0063╗
  48. ñHow to Indent a Paragraph½Topic0081╗
  49. ñHow to Remove a Topic½Topic0064╗
  50. ñHow to Remove a Definition½Topic0065╗
  51. ñHow to include Fonts and Colours½Topic0070╗
  52. ñHow to include Graphic BitMap images½Topic0050╗
  53. ñHow to Make a Help File½Topic0051╗
  54. ñHow to Change the default Editor to view Errors½Topic0072╗
  55. ñHow to Launch a program½Topic0076╗
  56. \pard 
  57.  
  58. {\b The SDK Windows Help Compiler}
  59.  
  60. \li600
  61. ñHow to set-up HC.BAT½Topic0052╗
  62. ñHow to Create an HPJ Project File for HC.½Topic0056╗
  63. ñHow to Make Context Sensitive Help calls½Topic0053╗
  64. ñHow to Test you Help File½Topic0054╗
  65. \pard 
  66.  
  67. ºTopic0078
  68. {\b The Tool Bar}
  69. The Tool bar has the following control buttons.
  70. \{bml toolbar.shg\}
  71. Click on each button for more information on what each one does.
  72.  
  73. ºTopic0079
  74. {\b The Status Bar}
  75. The Status bar gives the following information.
  76.  
  77. In the first section is the Line number and Column position.
  78.  
  79. In the second section the word 'Modified' appears when the user has changes the text in the editor.
  80.  
  81. In the third section, a description of each menu item is given when that menu item is highlighted.
  82.  
  83. The last three sections indicate the status of the CAPS lock, NUM lock and SCROLL lock keys respectively.
  84.  
  85. ºTopic0003
  86. {\b The File Menu}
  87.  
  88. The File Menu allows you to create new Help files and has the following options
  89.  
  90.     ñOpen½Topic0011╗
  91.     ñSave½Topic0012╗
  92.     ñSave As½Topic0013╗
  93.     ñPrinter Set-up½Topic0067╗
  94.     ñPrint½Topic0068╗
  95.     ñExit½Topic0014╗
  96.  
  97. Select each Name for further information.
  98.  
  99. ºTopic0004
  100. {\b Edit Menu}
  101.  
  102. The Edit menu allows you to edit the text file and has the following options
  103.  
  104.     ñUndo½Topic0015╗
  105.     ñCut½Topic0016╗
  106.     ñCopy½Topic0017╗
  107.     ñPaste½Topic0018╗
  108.     ñDelete½Topic0019╗
  109.     ñClear All½Topic0020╗
  110.     ñTopic½Topic0058╗
  111.     ñDefinition½Topic0059╗
  112.     ñWord Wrap½Topic0077╗
  113.  
  114. Select each Name for further information
  115.  
  116.  
  117. ºTopic0077
  118. {\b Word Wrap}
  119. Use this menu selection to toggle Word Wrap On/Off.
  120.  
  121. When word wrap is on, text will wrap to the next line when it reaches the edge of the Window. If word wrap is off, text will scroll to the left. When On there will be a check mark next to the menu item, and no horizontal scroll bar. During Save, Help Edit temporarily turns word wrap off, so that there are no false line breaks in your help file.
  122.  
  123. ºTopic0005
  124. {\b Search Menu}
  125.  
  126. The Search menu offers the following choices
  127.  
  128. \li600
  129. ñFind½Topic0021╗
  130. ñReplace½Topic0022╗
  131. ñNext½Topic0023╗
  132. \pard
  133.  
  134. Select each Name for further information
  135.  
  136.  
  137. ºTopic0006
  138. {\b Project Menu}
  139.  
  140. The Project menu offers the following menu items
  141.  
  142. \li600
  143. ñOpen½Topic0024╗
  144. ñClose½Topic0025╗
  145. ñAdd File½Topic0026╗
  146. ñDelete File½Topic0027╗
  147. ñRemove Topic½Topic0060╗
  148. ñRemove Definition½Topic0061╗
  149. ñCurrent :- [None]½Topic0028╗
  150. \pard
  151.  
  152. Select each Name for further information
  153.  
  154. ºTopic0007
  155. {\b Make Menu}
  156.  
  157. The Make menu contains the following options
  158.  
  159. \li600
  160. ñTopic½Topic0029╗
  161. ñTitle½Topic0030╗
  162. ñDefinition½Topic0057╗
  163. ñHELP File½Topic0033╗
  164. \pard
  165.  
  166. Select each Name for further information
  167.  
  168. ºTopic0008
  169. {\b Insert Menu}
  170.  
  171. The insert menu has the following selections
  172.  
  173. \li600
  174. ñJump Link½Topic0034╗
  175. ñDefinition Link½Topic0035╗
  176. ñBitMap Image½Topic0036╗
  177. ñParagraph Indent½Topic0081╗
  178. \pard
  179.  
  180. Select each Name for further information
  181.  
  182. ºTopic0069
  183. {\b Choose Font}
  184.  
  185. You must have selected text before you can activate this menu.
  186.  
  187. You will be presented with a dialog box offering a choice of Fonts, character sizes, colours, and attributes such as Bold, Underline, strikeout, and Italic. After you have made your choice select OK to insert the RTF codes, or Cancel to quit. You should use Fonts and Colours sparingly.
  188.  
  189. An example of what is available is shown below.
  190.  
  191. {\f2 \fs48 \cf6 Arial},red,24 point
  192. {\f4 \fs30 \cf2 \ul Courier}, blue,underline,15 point
  193. {\f5 \fs44 \cf5 \B \strike Courier New}, fuschia,bold,strikeout,22 point
  194. {\f1 \fs18 \cf1 Fixed Sys}, normal, 9 point
  195. {\f7 \fs48 \cf9 \B \ul MS Sans Serif}, navy,underline,bold,24 point
  196. {\fs48 \cf11 \B \i \ul MS Serif}, green, bold, italic, 24 point
  197. {\f9 \fs14 \cf1 \B Small Fonts}, black, bold, 7 point
  198. {\f6 \fs20 \cf4 \B \ul System}, Lime green,underline,bold,10 point
  199. {\fs72 \cf15 \i Times New Roman}, Gray,italic,36 point
  200.  
  201.  
  202. ºTopic0071
  203. {\b The Options Menu}
  204.  
  205. This menu has the following selections.
  206.  
  207.     ñChoose Font½Topic0069╗
  208.     ñSpell Check.½Topic0074╗
  209.     ñSelect Editor.½Topic0073╗
  210.     ñWindows 3.1½Topic0075╗
  211.  
  212. Click on any of the above for more information.
  213.  
  214.  
  215. ºTopic0073
  216. {\b Select Editor.}
  217.  
  218. During compilation of your Help topics into a Help File by the Help compiler, Help Edit routes all Warning and Error messages into a file called Helpedit.err.
  219.  
  220. If Help Edit detects any errors or warnings it uses the default editor to show these messages. The default editor is Notepad. You can use this option to select another editor, e.g. WinEdit or Write.
  221.  
  222. Help Edit will remember your changes and use the editor of your choice in future sessions.
  223.  
  224. Just use the file selection box to tell Help Edit the name and location of your editor.
  225.  
  226.  
  227. ºTopic0074
  228. {\b Spell Check}
  229.  
  230. If you have the professional version of Help Edit, you will also have Spelmate, a spell checking DLL installed. This comes in both American and British versions. It has a 50,000 word plus dictionary, and a private user dictionary that you can add your own definitions to.
  231.  
  232. To spell check your Help Edit document, place the cursor at the point you wish to begin the spell check, then select the Spell check menu item from the Options menu.
  233. Help Edit will load the spell checker and scan you text. If it encounters an unknown word it will make suggestions as to what it might be, and you can accept a word form the suggestion list, and Help Edit will replace the word for you.
  234.  
  235. The Spelmate dialog is shown below, it is an example of a .SHG file that Help Edit supports. Click on the various controls for more information.
  236. \{bml spell.shg\}
  237.  
  238. When you reach the end of the spell check a dialog box will announce that spelling is complete. You can cancel at any time before then by selecting the cancel button.
  239.  
  240.  
  241. ºTopic0075
  242. {\b Windows 3.1}
  243.  
  244. If you are using the Windows 3.1 version of the help compiler you should select this option.
  245.  
  246. A check mark will be placed next to the menu entry, and when you exit Help Edit the information will be saved, so that you need not re-enter it.
  247.  
  248. The HPJ file is different for Windows 3.0 and 3.1 help compilers, and so Help Edit needs to know which one you intend to use. You should also refer to the ñHC.BAT½Topic0052╗ file setup to make sure that Help Edit calls the correct compiler for you.
  249.  
  250. Help Edit also uses this information when allowing certain options to be selected, such as launching a program from within your Help File. As this is a macro command only available in Version 3.1.
  251.  
  252. ºTopic0009
  253. {\b Help Menu}
  254.  
  255. The Help Menu has the following items
  256.  
  257.     ñAbout½Topic0037╗
  258.     ñHelp Index½Topic0038╗
  259.     ñHelp on Help½Topic0039╗
  260.     ñOrder½Topic0040╗
  261.     ñShareware½Topic0041╗
  262.     ñTutorial½Topic0066╗
  263.     ñTest Help½Topic0042╗
  264.  
  265. Select each Name for further information
  266.  
  267. ºTopic0010
  268. {\b File New}
  269.  
  270. This option starts a new file. Any previous file contents will be cleared.
  271.  
  272. If you have a file in memory that has changed, you will be asked if you wish to save the data.
  273.  
  274. You should Open a« Project½Definition0006╗ first. When Help Edit starts up you can begin entering text immediately, but you will not be able to save it until you supply a Project Name.
  275.  
  276. ºTopic0011
  277. {\b File Open}
  278.  
  279. Select Open to load an existing Help Edit file from the Project.
  280.  
  281. Use this option to Load a file listed in the Project. This option can only be selected if a valid project is open, and it contains at least one file.
  282. A list of Text files will be presented in a list box, and you should select one, or cancel.
  283.  
  284. ºTopic0012
  285. {\b File Save}
  286.  
  287. Use this menu option to save the current file being edited.If you do not have a Project open at the time you save the file , you will be asked to open or create a new Project so that the name of the file you have just saved can be added.
  288.  
  289. If the file was new, you will be prompted for a file name. The Filename will automatically be added to the project list.
  290.  
  291. ºTopic0013
  292. {\b File Save As}
  293.  
  294. This menu item allows you to save the current file under a new name. 
  295.  
  296. ºTopic0067
  297. {\b File Printer Set-up}
  298.  
  299. This option allows you to select a particular printer, and optionally set it up for portrait or landscape mode, depending on the printer options available.
  300.  
  301. ºTopic0068
  302. {\b File Print}
  303.  
  304. This option prints the contents of the edit window. If you select a piece of text first, then select the Selected Text option from the print dialog, then only the selected text will be printed.
  305.  
  306. ºTopic0014
  307. {\b File Exit}
  308. This option will end the Help Edit session. If there is a file in memory that has changed, you will be asked if you wish to save it.
  309.  
  310. ºTopic0015
  311. {\b Edit Undo}
  312.  
  313. This option allows you to undo the last edit command, if at all possible.
  314.  
  315. Some edit commands such as Cut and Copy are saved in a buffer, and it is possible to undo the last command.
  316.  
  317. ºTopic0016
  318. {\b Edit Cut}
  319.  
  320. To perform a Cut, you must first select the text to cut. This will then be highlighted.
  321. The text is deleted from the edit file, and copied into the clipboard. From there it can be pasted into a new location.
  322.  
  323. ºTopic0017
  324. {\b Edit Copy}
  325.  
  326. To perform a Copy, you must first select the text to copy. This will then be highlighted.
  327. This is similar to Edit Cut in that the selected text is copied into the clipboard. The original text remains unchanged. The copied text can then be pasted from the clipboard into another location.
  328.  
  329. ºTopic0018
  330. {\b Edit Paste}
  331.  
  332. The Paste command copies any text in the clipboard into the file at the current caret(text cursor) position.
  333.  
  334. This option is only available if the clipboard contains valid text data.
  335.  
  336. ºTopic0019
  337. {\b Edit Delete}
  338.  
  339. The Delete command deletes the selected text from the edit file. It is not copied to the clipboard.
  340.  
  341. ºTopic0020
  342. {\b Edit Clear All}
  343.  
  344. This command clears all the contents of the editor. You will be warned if you have not saved your data.
  345.  
  346. ºTopic0058
  347. {\b Edit Topic}
  348.  
  349. This option allows you to change a Topic.
  350. A list box of Topics will be presented and you should select the Topic you wish to Edit.
  351.  
  352. A dialog box will appear similar to the one used when creating a Topic, only all the fields will be completed with the data of the Topic selected. You can alter the Title, the list of Keywords, or alter the Browse sequence. If you choose OK the edit changes will be implemented, choose Cancel to abort the edit.
  353.  
  354. ºTopic0059
  355. {\b Edit Definition}
  356.  
  357. A dialog box will appear similar to the one used when creating a Definition, only the Title field will be completed with the data of the Definition selected. You can alter the Title, and if you choose OK the edit changes will be implemented, choose Cancel to abort the edit.
  358.  
  359. ºTopic0021
  360. {\b Search Find}
  361.  
  362. Use search find to locate a word or piece of text in the file. You will be presented with a dialog box requesting the text to find. There is the option to match case.
  363.  
  364. ºTopic0022
  365. {\b Search Replace}
  366.  
  367. This option allows you to replace a single or all occurrences of one text string with another string. You will be presented with a dialog box asking for the old and the new text.
  368.  
  369. Options include matching case, single or all occurrences, and you can choose whether or not you want to confirm each substitution.
  370.  
  371. ºTopic0023
  372. {\b Search Next}
  373.  
  374. The search find function will select the first occurrence of the text that matches it's goal. If you want to look for subsequent occurrences, select this menu item.
  375.  
  376. Use the hot key F3 to save time.
  377.  
  378. ºTopic0024
  379. {\b Project Open}
  380.  
  381. Every Help Edit session requires the use of a Project File. This file holds information regarding the files in you Help system, and also the «Topics½Definition0009╗ and «Definitions½Definition0002╗ that you create.
  382.  
  383. This makes the creation of a «HPJ project file½Definition0003╗ for the Help compiler an almost automated process, and thus makes your job much easier.
  384.  
  385. This menu option allows you to load a project file, or to create a new one by typing in a new name. The *.prj extension is automatically added. Any current project will be saved and closed first.
  386.  
  387. ºTopic0025
  388. {\b Project Close}
  389.  
  390. This option closes theñ current project.½Topic0028╗ Any open files will be saved.
  391.  
  392. ºTopic0026
  393. {\b Project Add File}
  394.  
  395. This option allows you to add Text or ñBitmap Files½Topic0050╗ to you project. 
  396.  
  397. Text files are assumed to have the extension *.doc, but this can be overridden.
  398.  
  399. It is suggested that you create your original text files with the extension *.txt, using Help Edit, Notepad, or any ASCII test editor, then copy the file to *.doc, so that you have an original version as a backup.
  400.  
  401. ºTopic0027
  402. {\b Project Delete File}
  403.  
  404. Use this option to remove any Text or Bitmap files from the project. You must remember that if you have created any Topics or Definitions using the file you have deleted, these will still be in the Project, and if you reference them, the help compiler will complain.
  405.  
  406. ºTopic0060
  407. {\b Project Remove Topic}
  408.  
  409. A Topic can be removed in one of two ways.
  410.  
  411. Method One. Select the Project menu and choose remove Topic, next select the Topic to remove from the list. 
  412.  
  413. Help Edit will search the current file and try to locate the topic, if successful it will ask you to confirm that the Topic be deleted. If you agree, the Topic information will be removed from the project, and the Topic marker deleted from your file. If it cannot find the marker, the Topic cannot be deleted until the correct file is loaded.
  414.  
  415. Method Two. Select the Topic marker you wish to remove from the project. Do not select onto the next line. Choose Remove Topic from the Project menu. Help Edit will read the selected topic marker, find it's title, and ask you to confirm removal. The Topic marker will then be deleted, and the Topic removed from the project.
  416.  
  417. Help Edit will not delete the text, in case you want to use it, remember that this text is now part of the preceding Topic. Help Edit does not remove any references to the Topic from your file, however the Topic marker is copied to the Search facility, and if you move to the start of the file and choose search, the search text contains the marker, search though the present file, and any others, to locate references to the Topic just removed.
  418.  
  419. ºTopic0061
  420. {\b Project Remove Definition}
  421.  
  422. A Definition can be removed in one of two ways.
  423.  
  424. Method One. Select the Project menu and choose Remove Definition, next select the Definition to remove from the list. 
  425.  
  426. Help Edit will search the current file and try to locate the Definition, if successful it will ask you to confirm that the Definition be deleted. If you agree, the Definition information will be removed from the project, and the Definition marker deleted from your file. If it cannot find the marker, the Definition cannot be deleted until the correct file is loaded.
  427.  
  428. Method Two. Select the Definition marker you wish to remove from the project. Do not select onto the next line. Choose Remove Definition from the Project menu. Help Edit will read the selected Definition marker, find it's title, and ask you to confirm removal. The Definition marker will then be deleted, and the Definition deleted from the project.
  429.  
  430.  
  431. Help Edit will not delete the text, in case you want to use it, remember that this text is now part of the preceding Definition. Help Edit does not remove any references to the Definition from your file, however the Definition marker is copied to the Search facility, and if you move to the start of the file and choose search, the search text contains the marker, you can therefore search though the present file, and any others, to locate references to the Definition just removed.
  432.  
  433. ºTopic0028
  434. {\b Project Current :-[None]}
  435.  
  436. This Menu simply identifies the current project, or [None] if no Project is active.
  437.  
  438.  
  439. ºTopic0072
  440. {\b How To change the Default Editor.}
  441.  
  442. From the main menu bar select ñOptions½Topic0071╗, then choose Editor.
  443.  
  444. Use the file dialog box to select a new editor to be used to view error messages from the Help Compiler. The default is Notepad. Help Edit will remember your selection and use it in future sessions.
  445.  
  446.  
  447. ºTopic0076
  448. {\b How to Launch a program}
  449.  
  450. If you are using the version 3.1 of the Help compiler, you can run programs from within your help file.
  451.  
  452. A program can be run by creating a hotspot link using a word or phrase, or even a bitmap. To use text, select the text using the left mouse button, then select Program from the Insert Menu. You will be presented with a dialog box requesting the program details. Enter the program name and any optional command line parameters. For example to run Word for Windows and to open the file MyFile.doc you would type Winword Myfile.doc into the edit field.
  453.  
  454. To run a program from a Bitmap select the Program radio button option when inserting the Bitmap into your document. You enter the program details as before into the edit box provided.
  455.  
  456. For more information refer to the section on inserting Bitmaps.
  457.  
  458.  
  459.  
  460. ºTopic0080
  461. {\b How To Create An Alias List}
  462.  
  463. You use the [Alias] list to assign one or more Topic labels to the same Topic alias. Because Topic labels must be unique for each Topic and can't be used for any other Topic in the Help project, the Alias list provides a way to delete or combine Help Topics without re-ordering your files. The Alias List is optional.
  464.  
  465. For example, if you create a Topic that replaces three other topics, and you delete the three, you will have to search through your files for invalid jumps to deleted Topics. You can avoid this problem by using an Alias list to assign the new Topic to the deleted Topics.
  466.  
  467. You can also use the Alias List when your application program has multiple context identifiers for which you have only one Topic. This can be the case with context-sensitive Help.
  468.  
  469. To create an Alias List you should create a simple ASCII text file with the same name as your Project file, but with the extension .ALI. Help Edit looks for such a file when compiling the .HPJ file, and if found, it is included in the .HPJ.
  470.  
  471. An example is shown below, note that comments can be included if separated from the Alias information by a semi-colon.
  472.  
  473. {\f0 \fs24 \cf6 sm_key=topic0001
  474. cc_key=topic0001
  475. st_key=topic0001;combined into keyboard shortcuts topic
  476. clskey=topic0002
  477. makey=topic0002;covered in using dialog boxes
  478. chk_key=topic0004}
  479.  
  480.  
  481. The Topic label is the same as the Topic code eg {\b topic0010} that is placed above the Topic text by Help Edit, but minus the special marker.
  482.  
  483.  
  484. ºTopic0081
  485. {\b Paragraph Indent}
  486.  
  487. \li600 Use this option to create indented paragraphs that will maintain their alignment even if the Help Window is reduced thus causing word wrap onto the next line. To indent a paragraph first select the text to be indented, then choose Paragraph Indent from the Insert menu.
  488. \pard 
  489. The above paragraph is an example of what is available.
  490.